package haizhi.fruitmall.constant;

public interface UserMsg {
	/**
	 * User类的属性名
	 */
	public String USER_ID = "user_id";
	public String USER_NAME = "user_name";
	public String USER_PASSWORD = "user_password";
	public String USER_HEAD_PATH = "user_head_path";
	public String USER_DEFAULT_HEAD_PATH = "http://119.23.33.62:8090/mall/commonHeadImage/user_icon.png";
	public String USERNAME_OR_TEL_NOT_NULL = "username_or_tel_not_null";

	public String USER_CONFIRM_PASSWORD = "user_confirm_password";
	public String USERNAME_OR_TEL = "username_or_tel";

	public String USER_EXIST = "user_exist";
	public String USER_NAME_NOTNULL = "user_name_notnull";
	public String USER_PASSWORD_NOTNULL = "user_password_notnull";
	public String PASSWORD_AND_CONFIRMPASSWORD_INCONSISTENT = "password_and_confirmpassword_inconsistent";
	public String USER_NOT_EXIST = "user_not_exist";
	public String PASSWORD_ERROR = "password_error";
	public String PASSWORD_NOTNULL = "password_notnull";

	public String USER_BEENLOCKED = "user_beenlocked";
	public String USERNAME_FORMAT_ERROR = "username_format_error";
	public String PASSWORD_FORMAT_ERROR = "password_format_error";
	public int PASSWORD_MIN_LENGTH = 6;
	public int PASSWORD_MAX_LENGTH = 20;
	public String PASSWORD_LENGTH_ERROR = "password_length_error";
	public String UPDATE_USER_NAME = "update_user_name";
	public String UPDATE_USER_PASSWORD = "update_user_password";
	public String UPDATE_USER_NAME_NOTNULL = "update_user_name_notnull";
	public String ORIGINAL_AND_UPDATE_NAME_SAME = "original_and_update_name_same";
	public String ORIGINAL_AND_UPDATE_PASSWORD_SAME = "original_and_update_password_same";
}
